<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path=request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"></base>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>老师信息详细</title>
<link rel="stylesheet" href="js/plugins/jquery-ui/themes/redmond/jquery-ui.min.css" />
<link rel="stylesheet" href="css/layout.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/plugins/jquery-ui/ui/jquery-ui.js"></script>
<script type="text/javascript" src="js/plugins/noty/jquery.noty.js"></script>
<script type="text/javascript" src="js/plugins/noty/layouts/topRight.js"></script>
<script type="text/javascript" src="js/plugins/noty/layouts/top.js"></script>
<script type="text/javascript" src="js/plugins/noty/layouts/center.js"></script>
<script type="text/javascript" src="js/plugins/noty/themes/default.js"></script>

<script type="text/javascript" src="js/AC_RunActiveContent.js"></script>
<script type="text/javascript" src="js/common.js"></script>

<script>
    $(function() {
        setupMenu();
        $('#back').button().click(function() {
            // window.location.href='<%=basePath%>tutor.action';
            history.back();
        });
        $('#export').button().click(function() {
            $('#exportSingle').submit();
        });
    });
</script>
<style>
#content {
	width: 100%;
	text-align: center;
}

#detail {
	background-color: #999999;
	width: 890px;
}

#detail td {
 background-color: #FFFFFF;
 text-align: left;
 height: 50px;
 padding-left:10px;
}

#headerTab {
	background-color: #999999;
	width: 890px;
	margin: 20px;
}

#headerTab td {
	background-color: #FFFFFF;
	padding-left: 5px;
	height: 10px;
}
</style>
</head>
<body>
 <div id="container">
  <%@ include file="../header.jsp"%>
  <div id="mainContent">
   <table id="headerTab" border="0" cellpadding="0" cellspacing="0">
    <tr>
     <td style="text-align: right; width: 500px;"><b>合肥市党政领导干部考试与测评中心</b></td>
     <td style="text-align: left;" rowspan="2"><b>老师登记表</b></td>
    </tr>
    <tr>
     <td style="text-align: right;"><b>合肥企业高级管理人才评价服务中心</b></td>
    </tr>
   </table>
   <div>填表时间：${judgeDetail.regDate}</div>
   <table id="detail" border="0" cellpadding="0" cellspacing="1">
    <col style="width: 100px;" />
    <col style="width: 100px;" />
    <col style="width: 490px;" />
    <col style="width: 200px;" />
    <tr>
     <td colspan="2">姓名</td>
     <td>${tutorDetail.name}</td>
     <td rowspan="5"><img src="<%=basePath%>getPhoto.action" height="250" /></td>
    </tr>
    <tr>
     <td colspan="2">性别</td>
     <td>${tutorDetail.sexValue}</td>
    </tr>
    <tr>
     <td colspan="2">出生日期</td>
     <td>${tutorDetail.birthday}</td>
    </tr>
    <tr>
     <td colspan="2">身份证号</td>
     <td>${tutorDetail.idNo}</td>
    </tr>
    <tr>
     <td colspan="2">居住地</td>
     <td>${tutorDetail.address}</td>
    </tr>
    <tr>
     <td colspan="2">类别</td>
     <td colspan="2">${tutorDetail.type}</td>
    </tr>
    <tr>
     <td colspan="2">主讲课程</td>
     <td colspan="2">${tutorDetail.major}</td>
    </tr>
    <tr>
     <td colspan="2">课酬</td>
     <td colspan="2">${tutorDetail.price}</td>
    </tr>
    <tr>
     <td colspan="2">讲师风格</td>
     <td colspan="2">${tutorDetail.style}</td>
    </tr>
    <tr>
     <td rowspan="4">联系<br/>方式</td>
     <td>手机</td>
     <td colspan="2">${tutorDetail.cellPhone}</td>
    </tr>
    <tr>
     <td>QQ</td>
     <td colspan="2">${tutorDetail.imAddress}</td>
    </tr>
    <tr>
     <td>电话</td>
     <td colspan="2">${tutorDetail.phone}</td>
    </tr>
    <tr>
     <td>邮箱</td>
     <td colspan="2">${tutorDetail.mailAddress}</td>
    </tr>
    <tr>
     <td rowspan="3">助理联<br/>系方式</td>
     <td>手机</td>
     <td colspan="2">${tutorDetail.cellPhoneBak}</td>
    </tr>
    <tr>
     <td>电话</td>
     <td colspan="2">${tutorDetail.phoneBak}</td>
    </tr>
    <tr>
     <td>邮箱</td>
     <td colspan="6">${tutorDetail.mailAddressBak}</td>
    </tr>
    <tr>
     <td colspan="4">合作过的课题</td>
    </tr>
    <tr>
     <td style="height: 150px;" colspan="4">${tutorDetail.task}</td>
    </tr>
    <tr>
     <td colspan="4">老师简介</td>
    </tr>
    <tr>
     <td style="height: 150px;" colspan="4">${tutorDetail.introduction}</td>
    </tr>
    <tr>
     <td colspan="4">课程大纲</td>
    </tr>
    <tr>
     <td style="height: 150px;" colspan="4">${tutorDetail.outLine}</td>
    </tr>
    <tr>
     <td colspan="4">备注</td>
    </tr>
    <tr>
     <td style="height: 150px;" colspan="4">${tutorDetail.remark}</td>
    </tr>
   </table>
   <s:form id="exportSingle" action="exportTutorDetail">
    <input type="hidden" id="selectIds" name="selectIds" value="${tutorDetail.id}" />
   </s:form>
   <div style="text-align:center;margin:15px;">
    <button id="back">返回</button>
    <button id="export">导出</button>
   </div>
  </div>
 </div>
</body>
</html>
